#include "BaseStrategy.h"
#include "BaseObject.h"


BaseStrategy::BaseStrategy(void)
{
}


BaseStrategy::~BaseStrategy(void)
{
}

void BaseStrategy::processing( float dt )
{

}

BaseObject* BaseStrategy::getOwner()
{
	return dynamic_cast<BaseObject*>(this->getParent());
}

void BaseStrategy::parseXml( xml_node node )
{

}

bool BaseStrategy::init()
{
	if (!CCNode::init())
		return false;
	return true;
}

void BaseStrategy::onExit()
{
	CCNode::onExit();
}

void BaseStrategy::onEnter()
{
	CCNode::onEnter();
}
